import type { LegacyRef } from 'react';
import { SizeEnum } from '../common';

export interface CommentOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentGroupOptions {
  /**
   * 折叠
   */
  collapsed?: boolean;
  /**
   * 关系线
   */
  threaded?: boolean;
  /**
   * 最小
   */
  minimal?: boolean;
  /**
   * 尺寸大小
   */
  size?: SizeEnum;
  /**
   * 深色背景
   */
  inverted?: boolean;
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentAvatarOptions {
  /**
   * 图片地址
   */
  src?: string;
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentContentOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentAuthorOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentMetadataOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentTextOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentActionsOptions {
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}

export interface CommentActionOptions {
  /**
   * 激活
   */
  active?: boolean;
  /**
   * 转发 ref
   */
  forwardedRef?: LegacyRef<HTMLElement>;
}
